4 5x7 DOT MATRIX DISPLAY

You need to understand what is happening when you multiplex a device. Read this:-
http://www.thebox.myzen.co.uk/Workshop/LED_Matrix.html