type form slides on button click