changed input
worked on resize