整理代码&添加SwipeBackLayout

Signed-off-by: fython <fython@163.com>