Resize and change sequence with button