change margin after view tryes