Added slide in and out animations