moved stuff into one file

there was a problem with the keyboard going up twice, so i threw a
return into the toggle function. this is a temporary fix