Corrected case, added hook for when transitions end, added functions to do left/right transitions